Skip to content

feat: Typed Frontend SDK (@numen/sdk) — React, Vue 3, Svelte, TypeScript#63

Open
Weegy wants to merge 17 commits intodevfrom
feature/frontend-sdk
Open

feat: Typed Frontend SDK (@numen/sdk) — React, Vue 3, Svelte, TypeScript#63
Weegy wants to merge 17 commits intodevfrom
feature/frontend-sdk

Conversation

@Weegy
Copy link
Copy Markdown
Contributor

@Weegy Weegy commented Mar 17, 2026

Summary

Complete TypeScript SDK for Numen CMS with first-class framework bindings.

What's included

  • Core client — NumenClient with auth middleware, SWR cache, error hierarchy
  • 16 resource modules — content, pages, media, search, versions, taxonomies, briefs, pipeline, webhooks, graph, chat, repurpose, translations, quality, competitor, admin
  • React bindings — 7 hooks + NumenProvider (useContent, usePage, useSearch, etc.)
  • Vue 3 bindings — 7 composables + NumenPlugin
  • Svelte bindings — 7 stores + context
  • SSE realtime — RealtimeClient + PollingClient + RealtimeManager
  • 423 tests — all passing (Vitest)
  • Full docs — README, API reference, framework guides, security guide, CHANGELOG

Quality gates

  • ✅ Tests: 423 passing
  • ✅ TypeScript: compiles clean
  • ✅ Build: succeeds
  • ✅ Security audit: PASS (0 CRITICAL, 0 HIGH, 3 MEDIUM documented)

Security notes

3 MEDIUM findings documented in sdk/docs/security.md — all addressable before GA.

Discussion: #42

numen-bot and others added 17 commits March 16, 2026 08:32
…aph, chat, repurpose, translations, quality, competitor, admin (chunk 4/10)
- Added 68 new edge case tests across resource modules
- Coverage for competitor, pages, quality, webhooks, graph modules
- Edge cases: pagination, special characters, empty responses, malformed inputs
- Added 7 integration tests for full SDK workflows
- Tests verify: resource calls, pagination, filtering, error handling, parallel operations
- Total tests increased from 355 to 423 (68 new tests)
- All tests passing, build succeeds, TypeScript compilation verified
- Fix Pint: move inline use statements in routes/api.php to top, sort alphabetically
- Fix Pint: add blank lines after opening tag in SchemaInspectorService.php
- Fix Larastan: create missing CmsConnectorInterface
- Fix Larastan: create missing ContentPerformanceEvent model + migration
- Fix Tests: remove hardcoded APP_BASE_PATH=/tmp/quality-worktree from phpunit.xml
- Fix Pint: add space after not operator in SchemaInspectorService
- Fix Larastan: widen array type on normalise() and CmsConnectorInterface
- Add POST /api/v1/track route with PerformanceTrackingController
- Controller and request class already existed but route was missing
@Weegy Weegy added the enhancement New feature or request label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant